import lang from 'element-plus/lib/locale/lang/zh-cn';
import locale from 'element-plus/lib/locale';
import { ElButton, ElInput, ElForm, ElFormItem, ElCheckboxGroup, ElCheckbox } from 'element-plus';

export default app => {
  locale.use(lang);

  // 使用element-plus插件
  app.use(ElButton);
  app.use(ElInput);
  app.use(ElForm);
  app.use(ElFormItem);
  app.use(ElCheckboxGroup);
  app.use(ElCheckbox);
};
